package com.lyhw.model;

import java.io.Serializable;

public class Attach implements Serializable{
	private String objectid;			//所属物id
	private int rank;						//排名
	private int collect;					//收藏量
	private int share;					//分享量
	private int praise;					//点赞量

	
	public Attach() {}//jpa
	
	public Attach(String objeString) {
		objectid = objeString;
	}

	public Attach(String objectid, int rank, int collect, int share, int praise) {
		this.objectid = objectid;
		this.rank = rank;
		this.collect = collect;
		this.share = share;
		this.praise = praise;
	}

	public String getObjectid() {
		return objectid;
	}

	public void setObjectid(String objectid) {
		this.objectid = objectid;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public int getCollect() {
		return collect;
	}

	public void setCollect(int collect) {
		this.collect = collect;
	}

	public int getShare() {
		return share;
	}

	public void setShare(int share) {
		this.share = share;
	}

	public int getPraise() {
		return praise;
	}

	public void setPraise(int praise) {
		this.praise = praise;
	}
}
